package com.smart.translate.controller;

import com.smart.translate.domain.entity.SmartTranslateUser;
import com.smart.translate.service.SmartTranslateUserService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName TestController
 * @Description TODO
 * @Author YY
 * @create: 2025−08-20 11:01
 */
@RestController
public class TestController {

    @Resource
    private SmartTranslateUserService smartTranslateUserService;

    @GetMapping("test")
    public SmartTranslateUser test(){
        SmartTranslateUser translate = smartTranslateUserService.translate();
        return translate;
    }

}
